﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using RssReader.Core.BL;

namespace RssReader.Core.UI
{
	public class HeaderControl : BaseControl
	{
		#region Private Properties
        private HyperLink _ljEditUser;
        
		#endregion

		#region Public Properties

		#endregion

		#region Constructors

		#endregion

		#region Private Methods
		protected override void AttachChildControls()
		{
            _ljEditUser = this.FindControl("ljEditUser") as HyperLink;//连接控件

            _ljEditUser.NavigateUrl = "~/EditUser.aspx";
            
            if (CurrentPage.Session["email"] != null)//当登陆后显示
            {
                _ljEditUser.Visible = true;
            }
		}

		#endregion

		#region Public Methods

		#endregion
	}
}
